package com.leoren.run.activity.main;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;


import com.leoren.run.R;

public class FriendFragment extends Fragment implements View.OnClickListener {

    private View rootView;

    private Toolbar toolbar;



    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, Bundle savedInstanceState) {
        rootView = inflater.inflate(R.layout.fragment_friend, container, false);

        initViews();



        return rootView;
    }

    private void initViews(){
        toolbar = rootView.findViewById(R.id.friend_toolbar);
        ((AppCompatActivity)getActivity()).setSupportActionBar(toolbar);
        setHasOptionsMenu(true);


    }

    @Override
    public void onClick(View view) {

    }


}
